package com.tledu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;
import java.util.List;

/**
 * 课程
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("oc_course")
public class Course {
    //课程id
    @TableId(value = "course_id", type = IdType.AUTO)
    private Integer course_id;

    // 课程所属专题
    @TableField(exist = false)
    private List<String> selectedIds;
    // 课程所属专题
    @TableField(exist = false)
    private String subject_title;
    //课程标题
    private String course_title;
    //课程副标题
    private String course_subtitle;
    //课程描述
    private String course_desc;
    //课程详情
    private String course_detail;
    //是否免费
    private String is_free;
    //课程价格
    private Float course_price;
    //是否打折
    private String is_discount;
    // 打折描述
    private String discount_desc;
    //折后价
    private Float discount_price;
    //课程难度
    private String course_level;
    //参与人数
    private Integer participations_count;
    //课程封面 图片链接地址
    private String course_cover;
    //课程轮播图
    private String course_banner;
    //是否对外
    private String is_duiwai;
    //是否轮播
    private String  is_carousel;
    //是否精品推荐
    private String is_recommend;
    //排序字段
    private Integer order_by;
    //课程状态
    private String course_status;
    //是否展示图片详情
    private String show_detail_img;
    //图片详情id
    private Integer detail_img;
    //是否启用
    private String enable;
    //是否删除
    private String del_flag;
    //备注说明
    private String remark;
    //创建人
    private String CREATED_BY;
    //创建时间
    private Date CREATED_TIME;
    //更新人
    private String UPDATED_BY;
    //更新时间
    private Date UPDATED_TIME;

}
